import request from '@/utils/request'

// 查询发票信息
export function selectInvoice() {
    return request({
        url: '/finance/selectInvoice',
        method: 'get',
    })
}

// 删除发票信息
export function deleteInvoice(data) {
    return request({
        url: '/finance/deleteInvoice',
        method: 'post',
        params: data
    })
}

// 新增发票信息
export function addInvoice(data) {
    return request({
        url: '/finance/addInvoice',
        method: 'post',
        params: data
    })
}